package com.lesama.generics;

/*
    常见的泛型标识符： E T K V
    泛型类
 */
public class GenericsDemo2 {
    public static void main(String[] args) {
        Student<String> student = new Student<>();
        student.setE("听你呼吸里的暖");
        System.out.println(student.getE());
    }
}

class Student<E> {
    private E e;

    public E getE() {
        return e;
    }

    public void setE(E e) {
        this.e = e;
    }
}